projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b96d7b6
)
testgtk: Fix g_object_new use
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 3 May 2020 15:15:40 +0000
(11:15 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 5 May 2020 02:53:08 +0000
(22:53 -0400)
This is the kind of thing that happens with varargs apis.
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index 697b4b0b3546f7cb9a627021500c0ce2fe16b65a..56f5de45d4e93ba9b2b4c03cdfdaae9dbfd779d9 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-3548,7
+3548,7
@@
create_display_screen (GtkWidget *widget)
window = g_object_new (gtk_window_get_type (),
"display", display,
"title", "Screen or Display selection",
-
10,
NULL);
+ NULL);
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_widget_destroy), NULL);